package com.xishu.bo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class OrderItemDiscount implements Serializable {
    private static final long serialVersionUID = 2241232844064367810L;

    private Long orderItemId;

    private boolean free;

    @ApiModelProperty(value = "已经免费的个数")
    private int discountNumber;

    @ApiModelProperty(value = "最大优惠的个数")
    private int maxDiscountNumber;

    private double discountFee;

    public int getMaxDiscountNumber() {
        return maxDiscountNumber;
    }

    public void setMaxDiscountNumber(int maxDiscountNumber) {
        this.maxDiscountNumber = maxDiscountNumber;
    }

    public int getDiscountNumber() {
        return discountNumber;
    }

    public void setDiscountNumber(int discountNumber) {
        this.discountNumber = discountNumber;
    }

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public boolean isFree() {
        return free;
    }

    public void setFree(boolean free) {
        this.free = free;
    }

    public double getDiscountFee() {
        return discountFee;
    }

    public void setDiscountFee(double discountFee) {
        this.discountFee = discountFee;
    }
}
